<include file="header" />
<!--头部 end -->
<!--左栏 starts -->
<div class="container-fluid">
		<div class="row-fluid admin_fluid">
        	<h3>快捷导航</h3>
            <div class="row-fluid admin_index">
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Index/system.html">
                  		<span class="icon32 icon-color icon-gear"></span>
                		<p>系统设置</p>
                    </a>
                </div>
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Basis/linebank.html">
                  		<span class="icon32 icon-color icon-wrench"></span>
                		<p>基础配置</p>
                    </a>
                </div>
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Goods.html">
                  		<span class="icon32 icon-color icon-basket"></span>
                		<p>商品管理</p>
                    </a>
                </div>
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Site.html">
                  		<span class="icon32 icon-color icon-book"></span>
                		<p>文章管理</p>
                    </a>
                </div>
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Instation.html">
                  		<span class="icon32 icon-blue icon-envelope-closed"></span>
                		<p>站内信</p>
                    </a>
                </div>
                
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Fund/recharge.html">
                  		<span class="icon32 icon-color icon-profile"></span>
                		<p>资金管理</p>
                    </a>
                </div>
                
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Ganged.html">
                  		<span class="icon32 icon-color icon-book"></span>
                		<p>联动管理</p>
                    </a>
                </div>
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/User.html">
                  		<span class="icon32 icon-color icon-user"></span>
                		<p>用户管理</p>
                    </a>
                </div>
                <div class="span1">
                	<a href="__APP__/TIFAWEB_DSWJCMS/Plugins/index.html">
                  		<span class="icon32 icon-color icon-unlink"></span>
                		<p>插件管理</p>
                    </a>
                </div>
            </div>
			<h3>待办事务</h3>
            <div  class="row-fluid admin_index">
                
                
                 <div class="span1">
                    <a href="__APP__/TIFAWEB_DSWJCMS/Fund/recharge.html">
                  		<span class="icon32 icon-orange icon-heart"></span>
                        <gt name="stat.recharge" value="0">
                        <span class="admin_right label label-important">{$stat.recharge}</span>
                        </gt>
                		<p>充值申请</p>
                        
                    </a>
                </div>
                <div class="span1">
                    <a href="__APP__/TIFAWEB_DSWJCMS/Fund/withdrawal.html">
                  		<span class="icon32 icon-orange icon-inbox"></span>
                        <gt name="stat.withdrawal" value="0">
                        <span class="admin_right label label-important">{$stat.withdrawal}</span>
                        </gt>
                		<p>提现申请</p> 
                    </a>
                </div>
                <div class="span1">
                    <a href="__APP__/TIFAWEB_DSWJCMS/Goods/records.html?state=2">
                  		<span class="icon32 icon-orange icon-inbox"></span>
                        <gt name="stat.distribution" value="0">
                        <span class="admin_right label label-important">{$stat.distribution}</span>
                        </gt>
                		<p>待配货</p> 
                    </a>
                </div>
            </div>
            
            <h3>网站统计</h3>
            <div class="row-fluid admin_content">
            	<div class="span3">
                	<dl class="dl-horizontal">
                        <dt>会员总数：</dt><dd><span class="red">{$stat.metotal}</span>人</dd>
                        <dt>平台总资金：</dt><dd><span class="red">{$stat.mototal}</span>元</dd>
                        <dt>冻结总金额：</dt><dd><span class="red">{$stat.frtotal}</span>元</dd>
                        <dt>提现总金额：</dt><dd><span class="red">{$stat.wmototal}</span>元</dd>
                        <dt>充值总金额：</dt><dd><span class="red">{$stat.rmototal}</span>元</dd>
                    </dl>
                </div>
                <div class="span3">
                	<dl class="dl-horizontal">
                        <dt>今日会员数：</dt><dd><span class="red">{$stat.menow}</span>人</dd>
                        <dt>今日提现总金额：</dt><dd><span class="red">{$stat.wmonow}</span>元</dd>
                        <dt>今日充值总金额：</dt><dd><span class="red">{$stat.rmonow}</span>元</dd>
                    </dl>
                </div>
                <div class="span3">
                	<dl class="dl-horizontal">
                        <dt>本周会员数：</dt><dd><span class="red">{$stat.meweeks}</span>人</dd>
                        <dt>本周提现总金额：</dt><dd><span class="red">{$stat.wmoweeks}</span>元</dd>
                        <dt>本周充值总金额：</dt><dd><span class="red">{$stat.rmoweeks}</span>元</dd>
                    </dl>
                </div>
                <div class="span3">
                	<dl class="dl-horizontal">
                        <dt>本月会员数：</dt><dd><span class="red">{$stat.memonth}</span>人</dd>
                        <dt>本月提现总金额：</dt><dd><span class="red">{$stat.wmomonth}</span>元</dd>
                        <dt>本月充值总金额：</dt><dd><span class="red">{$stat.rmomonth}</span>元</dd>
                    </dl>
                </div>
            </div>
            <h3>环境切换</h3>
            <script>
			function contextSwitching(id){
				$.ajax({
					type: "POST",
					url: "__APP__/TIFAWEB_DSWJCMS/Index/contextSwitching.html",
					data:{id:id},
					success: function(msg){
						if(msg.status==1){
							alert(msg.info);
							window.location.href='__APP__/TIFAWEB_DSWJCMS/Index/index.html';
						}else{
							alert(msg.info);
						}
					}
				});
			}
			</script>
            <div class="row-fluid">
            <br/>
            <table class="table table-striped table-bordered table-condensed">
            <tbody>
                <tr>
                <td style="width:200px;">开发环境</td>
                <td style="width:200px;">
                <label class="radio"><input type="radio" name="validation" value="1" class="noty" <eq name="Think.const.APP_DEBUG" value="1">checked</eq>  onclick="contextSwitching(0)"/>测试环境</label>
                <label class="radio"><input type="radio" name="validation" value="0" class="noty" <neq name="Think.const.APP_DEBUG" value="1">checked</neq> onclick="contextSwitching(1)"/>正式环境</label>
                </td>
                <td style="width:600px;">
                测试环境下不会对模板进行缓存，更适合技术人员进行调试；正式环境下，将对模板和一些数据进行缓存处理，修改的内容有可能不会马上更新，如需要调试，请切换到测试环境，然后刷新下页面。
                </td>
              </tr>
            </tbody>
            
            </table>
            </div>
            <h3>参考资料</h3>
            <div class="row-fluid">
            	<div class="span6">
                    <dl class="dl-horizontal">
                        <dt>官方网站：</dt><dd><a target="_blank" href="http://www.dswjcms.com/">http://www.dswjcms.com/</a></dd>
                        <dt>插件模板市场：</dt><dd><a target="_blank" href="http://www.dswjcms.com/Plugin.html">http://www.dswjcms.com/Plugin.html</a></dd>
                        <dt>售前支持：</dt><dd>安装问题都可以通过官方找到解决方案，也可通过官方论坛进行提问，我们将在2-3个工作日内进行解答</dd>
                    </dl>
                </div>
                <div class="span6">
                    <dl class="dl-horizontal">
                    	<dt>官方论坛：</dt><dd><a target="_blank" href="http://www.dswjcms.com/bbs">http://www.dswjcms.com/bbs</a></dd>
                        <dt>在线手册：</dt><dd><a target="_blank" href="http://www.dswjcms.com/Manual.html">http://www.dswjcms.com/Manual.html</a></dd>
                        <dt>售后支持：</dt><dd>项目运营中发现任何问题，都可通过官方提供的渠道寻求免费帮助<br/><span class="red">注：仅支持以下2种情况的站点，其它情况，将不提供帮助（包括免费和付费）<br/>一、已购买授权，并仅只在授权域名下单独运行。<br/>二、1、官方相关版权信息并未去除;2、有做过友情链接"Dswjcms"，或底部加有"由Dswjcms提供技术支持"字样和链接到Dswjcms官网的URL</span></dd>
                    </dl>
                </div>
            </div>
        </div>
        
<!--底部 -->
<include file="footer" />
